<?php
	class PlanetaItemModel {
		
		private $idPlaneta;
		private $idItem;
		private $qtdeItem;
		
		public function __construct() { }
		
		public function getIdPlaneta() {
			return $this->idPlaneta;
		}
		
		public function setIdPlaneta($temp) {
			$this->idPlaneta = $temp;
		}
		
		public function getIdItem() {
			return $this->idItem;
		}
		
		public function setIdItem($temp) {
			$this->idItem = $temp;
		}
		
		public function getQtdeItem() {
			return $this->qtdeItem;
		}
		
		public function setQtdeItem($temp) {
			$this->qtdeItem = $temp;
		}
		
		public function toJSONObject() { 
			return array(
				"idPlaneta" => $this->idPlaneta,
				"idItem" => $this->idItem,
				"qtdeItem" => $this->qtdeItem
			);
		}
	}
?>